package com.ch09a;

public class BasicBlob {
	static int idCounter;
	static int population;
	protected int blobId;

	BasicBlob() {
		blobId = idCounter++;
		++population;
	}

	protected void finalize() throws Throwable { // (2)
		--population;
		super.finalize();
	}
}
